General or spinal anesthesia